package com.sakura.mall.member.memberCollectSpu.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.member.memberCollectSpu.domain.entity.MemberCollectSpuEntity;
import com.sakura.mall.member.memberCollectSpu.domain.request.AddMemberCollectSpuRequest;
import com.sakura.mall.member.memberCollectSpu.domain.request.UpdateMemberCollectSpuRequest;
import com.sakura.mall.member.memberCollectSpu.domain.request.MemberCollectSpuPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.member.memberCollectSpu.domain.vo.MemberCollectSpuVo;

/**
 * 会员收藏的商品 service
 *
 * @author sakura
 */
public interface MemberCollectSpuService extends IService<MemberCollectSpuEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<MemberCollectSpuVo> queryPage(MemberCollectSpuPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddMemberCollectSpuRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateMemberCollectSpuRequest request);
}
